Banana Jr. is an application which can create documents with multiple pages (limited by memory). Each page can have a unique format, set by the "Custom Page Setup" menu item. It's a good app to use as a shell for your QuickDraw GX printing experiments.
This application can be used to create multiple documents with multiple page formats and characteristics. For example, page 1 can be formatted as a #10 envelope, page 2 can be formatted for US letter, page 3 & 5 can be formatted for legal, page 4 can be formatted as 200% scaled landscape US letter, and so on. When you print a document like this, any by-page formatting that you've set up will be used. Every page that shows on the screen will look unremarkable when compared to another, but on the printer, they'll look quite different. Not very wysiwyg. I'm hoping to change this (in my copious free time) before we go final.
Unfortunately, there's also no Save option. This is "left as an exercise," or until I get to it.
This application installs an application override to add a panel called "Idiot's Delight" to the Custom Page Setup dialog. While the panel doesn't do anything particularly interesting, when you set its options and click Format, those options are recorded into the format for the current page. Whenever you bring up the Custom Page Setup dialog for that page, you'll see the same options selected. The program uses collections and 'xdtl' resources to accomplish this. And, since we're adding a collection item to the page format, those options will follow the job & document around as it's printed. It's easy to see how an application could use this facility to send information to a printing extension or driver.
The app appears very simple-- the pages only contain a few lines of text. Keep in mind that the way-cool things about this app are "under the hood." You should be able to just modify or add a few routines and get something pretty useful out of Banana Jr.